package com.zhongkun.datahome.service.req.cmd.tenant;

import com.zhongkun.datahome.common.xss.Xss;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * @Author: lifengsheng
 * @Date: 2025/5/6 12:04
 * @Desc
 */
@Data
public class TenantCmd {
    private Long id;

    @NotBlank(message = "商户名称不能为空")
    @Xss(message = "商户名称不能包含脚本字符")
    @Length(max = 64, message = "商户名称不能超过{max}个字符")
    private String tenantName;
}
